// 封装所有跟用户相关的接口函数
import request from '@/utils/http.js'

export const loginAPI = ({ account, password }) => {
  return request({
    url: '/login',
    method: 'POST',
    data:{
        account,
        password
    }
  })
}
// 猜你喜欢接口
export const getLikeListAPI = ({ limit = 4 }) => {
  return request({
    url:'/goods/relevant',
    params: {
      limit 
    }
  })
}